import request from '@/utils/request'
export default {
    //1.课程分类列表
    getSubjectList(current, limit, teacherQuery) {

        return request({
            //url: '/table/list/' + current + "/" + limit,
            //url: '/eduservice/teacher/pageTeacherCondition/' + current + '/' + limit,
            url: `/eduservice/subject/getAllSubject`,
            method: 'get',
            //teachQuery条件对象，后端使用RequestBody获取数据
            //data将对象转为json传递到接口里面
            data: teacherQuery
        })

    }
}